N = 10
sum = 0
count = 0
while count < N:
	number = int(input("输入数值"+str(count+1)+":"))
	sum = sum + number
	count = count +1
average = sum /N
print("N = {},和 = {}".format(N,sum))
print("平均值 = {}".format(average))
